package com.seal.tsms.exam.entity;

import com.seal.tsms.base.entity.IdEntity;

import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by GaoYunQing on 2016/6/6.
 */
@Entity
@Table(name = "tb_ExaminationClassify")
public class ExaminationClassify extends IdEntity {
    private Stage stage;//所属阶段
    private Profession profession;//所属科目
    private Chapter chapterid;//章节
    private Course courses;
    private String difficulty;

    @ManyToOne
    @JoinColumn(name = "stage_id")
    public Stage getStage() {
        return stage;
    }

    public void setStage(Stage stage) {
        this.stage = stage;
    }

    @ManyToOne
    @JoinColumn(name = "profession_id")
    public Profession getProfession() {
        return profession;
    }

    public void setProfession(Profession profession) {
        this.profession = profession;
    }

    @ManyToOne
    @JoinColumn(name = "chapter_id")
    public Chapter getChapterid() {
        return chapterid;
    }

    public void setChapterid(Chapter chapterid) {
        this.chapterid = chapterid;
    }

    @ManyToOne
    @JoinColumn(name = "courses_id")
    public Course getCourses() {
        return courses;
    }

    public void setCourses(Course courses) {
        this.courses = courses;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }
}
